package com.xilihui.xlh.business.entities;

import com.xilihui.xlh.core.app.BaseEntity;

import java.util.List;

/**
 * Created by Administrator on 2018/9/17.
 */

public class PublicOrderEntity extends BaseEntity{


    /**
     * id : 129
     * order_all_sn : orderall_A916114054336923
     * user_id : 2628
     * money : 2288.00
     * add_time : 1537111405
     * order : [{"order_id":"1692","order_all_id":"129","order_sn":"order_A91416786744394564208","user_id":"2628","order_status":"2","shipping_status":"1","pay_status":"1","order_goods":{"order_id":"1692","goods_id":"50","goods_name":"华为 HUAWEI 畅享5S 全网通 2GB RAM+16GB ROM（金色）","goods_sn":"TP0000050","goods_num":"2","goods_price":"2338.00","give_integral":"50","spec_key_name":"网络:4G 内存:16G 屏幕:触屏 颜色:黑色","original_img":"/public/upload/goods/2016/01-13/5696034e703e1.jpg"}}]
     * count : 1
     * order_id : 1677
     * order_all_id : 108
     * order_sn : order_A91150901312695826416
     * order_status : 2
     * shipping_status : 1
     * pay_status : 1
     * order_amount : 1139.00
     * order_goods : {"order_id":"1677","goods_id":"50","goods_name":"华为 HUAWEI 畅享5S 全网通 2GB RAM+16GB ROM（金色）","goods_sn":"TP0000050","goods_num":"1","goods_price":"1189.00","give_integral":"0","spec_key_name":"网络:4G 内存:16G 屏幕:触屏 颜色:白色","original_img":"/public/upload/goods/2016/01-13/5696034e703e1.jpg"}
     * type_status : dpj
     * title : 交易成功
     */

    private String id;
    private String order_all_sn;
    private String user_id;
    private String money;
    private String add_time;
    private String count;
    private String order_id;
    private String order_all_id;
    private String order_sn;
    private String order_status;
    private String shipping_status;
    private String shipping_code;
    private String pay_status;
    private String order_amount;
    private OrderGoodsBean order_goods;
    private String type_status;
    private String title;
    private List<OrderBean> order;
    private int type;

    public String getShipping_code() {
        return shipping_code;
    }

    public void setShipping_code(String shipping_code) {
        this.shipping_code = shipping_code;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrder_all_sn() {
        return order_all_sn;
    }

    public void setOrder_all_sn(String order_all_sn) {
        this.order_all_sn = order_all_sn;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getOrder_all_id() {
        return order_all_id;
    }

    public void setOrder_all_id(String order_all_id) {
        this.order_all_id = order_all_id;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public String getOrder_status() {
        return order_status;
    }

    public void setOrder_status(String order_status) {
        this.order_status = order_status;
    }

    public String getShipping_status() {
        return shipping_status;
    }

    public void setShipping_status(String shipping_status) {
        this.shipping_status = shipping_status;
    }

    public String getPay_status() {
        return pay_status;
    }

    public void setPay_status(String pay_status) {
        this.pay_status = pay_status;
    }

    public String getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(String order_amount) {
        this.order_amount = order_amount;
    }

    public OrderGoodsBean getOrder_goods() {
        return order_goods;
    }

    public void setOrder_goods(OrderGoodsBean order_goods) {
        this.order_goods = order_goods;
    }

    public String getType_status() {
        return type_status;
    }

    public void setType_status(String type_status) {
        this.type_status = type_status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<OrderBean> getOrder() {
        return order;
    }

    public void setOrder(List<OrderBean> order) {
        this.order = order;
    }

    public static class OrderGoodsBean {
        /**
         * order_id : 1677
         * goods_id : 50
         * goods_name : 华为 HUAWEI 畅享5S 全网通 2GB RAM+16GB ROM（金色）
         * goods_sn : TP0000050
         * goods_num : 1
         * goods_price : 1189.00
         * give_integral : 0
         * spec_key_name : 网络:4G 内存:16G 屏幕:触屏 颜色:白色
         * original_img : /public/upload/goods/2016/01-13/5696034e703e1.jpg
         */

        private String order_id;
        private String goods_id;
        private String goods_name;
        private String goods_sn;
        private String goods_num;
        private String goods_price;
        private String give_integral;
        private String spec_key_name;
        private String original_img;

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getGoods_sn() {
            return goods_sn;
        }

        public void setGoods_sn(String goods_sn) {
            this.goods_sn = goods_sn;
        }

        public String getGoods_num() {
            return goods_num;
        }

        public void setGoods_num(String goods_num) {
            this.goods_num = goods_num;
        }

        public String getGoods_price() {
            return goods_price;
        }

        public void setGoods_price(String goods_price) {
            this.goods_price = goods_price;
        }

        public String getGive_integral() {
            return give_integral;
        }

        public void setGive_integral(String give_integral) {
            this.give_integral = give_integral;
        }

        public String getSpec_key_name() {
            return spec_key_name;
        }

        public void setSpec_key_name(String spec_key_name) {
            this.spec_key_name = spec_key_name;
        }

        public String getOriginal_img() {
            return original_img;
        }

        public void setOriginal_img(String original_img) {
            this.original_img = original_img;
        }
    }

    public static class OrderBean {
        /**
         * order_id : 1692
         * order_all_id : 129
         * order_sn : order_A91416786744394564208
         * user_id : 2628
         * order_status : 2
         * shipping_status : 1
         * pay_status : 1
         * order_goods : {"order_id":"1692","goods_id":"50","goods_name":"华为 HUAWEI 畅享5S 全网通 2GB RAM+16GB ROM（金色）","goods_sn":"TP0000050","goods_num":"2","goods_price":"2338.00","give_integral":"50","spec_key_name":"网络:4G 内存:16G 屏幕:触屏 颜色:黑色","original_img":"/public/upload/goods/2016/01-13/5696034e703e1.jpg"}
         */

        private String order_id;
        private String order_all_id;
        private String order_sn;
        private String user_id;
        private String order_status;
        private String shipping_status;
        private String shipping_code = "";
        private String pay_status;
        private OrderGoodsBeanX order_goods;

        public String getShipping_code() {
            return shipping_code;
        }

        public void setShipping_code(String shipping_code) {
            this.shipping_code = shipping_code;
        }

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public String getOrder_all_id() {
            return order_all_id;
        }

        public void setOrder_all_id(String order_all_id) {
            this.order_all_id = order_all_id;
        }

        public String getOrder_sn() {
            return order_sn;
        }

        public void setOrder_sn(String order_sn) {
            this.order_sn = order_sn;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getOrder_status() {
            return order_status;
        }

        public void setOrder_status(String order_status) {
            this.order_status = order_status;
        }

        public String getShipping_status() {
            return shipping_status;
        }

        public void setShipping_status(String shipping_status) {
            this.shipping_status = shipping_status;
        }

        public String getPay_status() {
            return pay_status;
        }

        public void setPay_status(String pay_status) {
            this.pay_status = pay_status;
        }

        public OrderGoodsBeanX getOrder_goods() {
            return order_goods;
        }

        public void setOrder_goods(OrderGoodsBeanX order_goods) {
            this.order_goods = order_goods;
        }

        public static class OrderGoodsBeanX {
            /**
             * order_id : 1692
             * goods_id : 50
             * goods_name : 华为 HUAWEI 畅享5S 全网通 2GB RAM+16GB ROM（金色）
             * goods_sn : TP0000050
             * goods_num : 2
             * goods_price : 2338.00
             * give_integral : 50
             * spec_key_name : 网络:4G 内存:16G 屏幕:触屏 颜色:黑色
             * original_img : /public/upload/goods/2016/01-13/5696034e703e1.jpg
             */

            private String order_id;
            private String goods_id;
            private String goods_name;
            private String goods_sn;
            private String goods_num;
            private String goods_price;
            private String give_integral;
            private String spec_key_name;
            private String original_img;

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getGoods_sn() {
                return goods_sn;
            }

            public void setGoods_sn(String goods_sn) {
                this.goods_sn = goods_sn;
            }

            public String getGoods_num() {
                return goods_num;
            }

            public void setGoods_num(String goods_num) {
                this.goods_num = goods_num;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }

            public String getGive_integral() {
                return give_integral;
            }

            public void setGive_integral(String give_integral) {
                this.give_integral = give_integral;
            }

            public String getSpec_key_name() {
                return spec_key_name;
            }

            public void setSpec_key_name(String spec_key_name) {
                this.spec_key_name = spec_key_name;
            }

            public String getOriginal_img() {
                return original_img;
            }

            public void setOriginal_img(String original_img) {
                this.original_img = original_img;
            }
        }
    }
}
